package com.vegetable.common.utils;

import java.io.IOException;

/**
 * @author: wrj
 * @since: 2024/3/9 15:02
 * @description:
 */
public class JsonToExcelMain {

    public static void main(String[] args) {
        String jsonStr = "";
        String filePath = "output.xlsx";
        try {
            JsonToExcel.jsonToExcel(jsonStr, filePath);
            System.out.println("Excel文件已生成： " + filePath);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
